Optimal. Leaf size=151 \[ -\frac{i b \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (2,-i e^{\cosh ^{-1}(c x)}\right )}{\sqrt{d-c^2 d x^2}}+\frac{i b \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (2,i e^{\cosh ^{-1}(c x)}\right )}{\sqrt{d-c^2 d x^2}}+\frac{2 \sqrt{c x-1} \sqrt{c x+1} \tan ^{-1}\left (e^{\cosh ^{-1}(c x)}\right ) \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt{d-c^2 d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.333308, antiderivative size = 151, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 5, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.185, Rules used = {5798, 5761, 4180, 2279, 2391} \[ -\frac{i b \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (2,-i e^{\cosh ^{-1}(c x)}\right )}{\sqrt{d-c^2 d x^2}}+\frac{i b \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (2,i e^{\cosh ^{-1}(c x)}\right )}{\sqrt{d-c^2 d x^2}}+\frac{2 \sqrt{c x-1} \sqrt{c x+1} \tan ^{-1}\left (e^{\cosh ^{-1}(c x)}\right ) \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt{d-c^2 d x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5798
Rule 5761
Rule 4180
Rule 2279
Rule 2391
Rubi steps
\begin{align*} \int \frac{a+b \cosh ^{-1}(c x)}{x \sqrt{d-c^2 d x^2}} \, dx &=\frac{\left (\sqrt{-1+c x} \sqrt{1+c x}\right ) \int \frac{a+b \cosh ^{-1}(c x)}{x \sqrt{-1+c x} \sqrt{1+c x}} \, dx}{\sqrt{d-c^2 d x^2}}\\ &=\frac{\left (\sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int (a+b x) \text{sech}(x) \, dx,x,\cosh ^{-1}(c x)\right )}{\sqrt{d-c^2 d x^2}}\\ &=\frac{2 \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \tan ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{\sqrt{d-c^2 d x^2}}-\frac{\left (i b \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \log \left (1-i e^x\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{\sqrt{d-c^2 d x^2}}+\frac{\left (i b \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \log \left (1+i e^x\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{\sqrt{d-c^2 d x^2}}\\ &=\frac{2 \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \tan ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{\sqrt{d-c^2 d x^2}}-\frac{\left (i b \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \frac{\log (1-i x)}{x} \, dx,x,e^{\cosh ^{-1}(c x)}\right )}{\sqrt{d-c^2 d x^2}}+\frac{\left (i b \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \frac{\log (1+i x)}{x} \, dx,x,e^{\cosh ^{-1}(c x)}\right )}{\sqrt{d-c^2 d x^2}}\\ &=\frac{2 \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \tan ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{\sqrt{d-c^2 d x^2}}-\frac{i b \sqrt{-1+c x} \sqrt{1+c x} \text{Li}_2\left (-i e^{\cosh ^{-1}(c x)}\right )}{\sqrt{d-c^2 d x^2}}+\frac{i b \sqrt{-1+c x} \sqrt{1+c x} \text{Li}_2\left (i e^{\cosh ^{-1}(c x)}\right )}{\sqrt{d-c^2 d x^2}}\\ \end{align*}
Mathematica [A] time = 0.27329, size = 153, normalized size = 1.01 \[ -\frac{i b \sqrt{\frac{c x-1}{c x+1}} (c x+1) \left (\text{PolyLog}\left (2,-i e^{-\cosh ^{-1}(c x)}\right )-\text{PolyLog}\left (2,i e^{-\cosh ^{-1}(c x)}\right )+\cosh ^{-1}(c x) \left (\log \left (1-i e^{-\cosh ^{-1}(c x)}\right )-\log \left (1+i e^{-\cosh ^{-1}(c x)}\right )\right )\right )}{\sqrt{d-c^2 d x^2}}-\frac{a \log \left (\sqrt{d} \sqrt{d-c^2 d x^2}+d\right )}{\sqrt{d}}+\frac{a \log (x)}{\sqrt{d}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.195, size = 327, normalized size = 2.2 \begin{align*} -{a\ln \left ({\frac{1}{x} \left ( 2\,d+2\,\sqrt{d}\sqrt{-{c}^{2}d{x}^{2}+d} \right ) } \right ){\frac{1}{\sqrt{d}}}}+{\frac{ib{\rm arccosh} \left (cx\right )}{d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{cx-1}\sqrt{cx+1}\ln \left ( 1+i \left ( cx+\sqrt{cx-1}\sqrt{cx+1} \right ) \right ) }-{\frac{ib{\rm arccosh} \left (cx\right )}{d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{cx-1}\sqrt{cx+1}\ln \left ( 1-i \left ( cx+\sqrt{cx-1}\sqrt{cx+1} \right ) \right ) }+{\frac{ib}{d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{cx-1}\sqrt{cx+1}{\it dilog} \left ( 1+i \left ( cx+\sqrt{cx-1}\sqrt{cx+1} \right ) \right ) }-{\frac{ib}{d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{cx-1}\sqrt{cx+1}{\it dilog} \left ( 1-i \left ( cx+\sqrt{cx-1}\sqrt{cx+1} \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{\sqrt{-c^{2} d x^{2} + d}{\left (b \operatorname{arcosh}\left (c x\right ) + a\right )}}{c^{2} d x^{3} - d x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{a + b \operatorname{acosh}{\left (c x \right )}}{x \sqrt{- d \left (c x - 1\right ) \left (c x + 1\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{b \operatorname{arcosh}\left (c x\right ) + a}{\sqrt{-c^{2} d x^{2} + d} x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]